﻿using CharacterCreation.Data.Annotations;

namespace CharacterCreation.Data.QueryBuilders {
    public class SelectBuilder {
        public static string SelectQuery<T>() {
            TableAttribute tableAttribute = TableBuilder.GetTableAttribute<T>();
            return string.Format("select * from {0}", tableAttribute.TableName);
        }
    }
}
